import request from '@/utils/request'

export function selectAssemblyConfigList(data) {
  return request({
    url: '/assembly/api/findAllAssemblyConfig',
    method: 'post',
    data
  })
}

export function updateAssemblyConfig(data) {
  return request({
    url: '/assembly/api/updateAssemblyConfig',
    method: 'put',
    data
  })
}

export function addAssemblyConfig(data) {
  return request({
    url: '/assembly/api/addAssemblyConfig',
    method: 'post',
    data
  })
}

export function deleteAssemblyConfig(data) {
  return request({
    url: '/assembly/api/deleteAssemblyConfig',
    method: 'delete',
    data
  })
}

export function findAllAssemblyConfigList() {
  return request({
    url: '/assembly/api/findAllAssemblyConfigList',
    method: 'get'
  })
}

